/**
 * Created by Administrator on 2016/12/5 0005.
 */
app.controller("customer",["$scope",'$location',function($scope,$location){
    $("a").click(function(e){
        e.preventDefault();
    });
    $(".remove").click(function(){
        $(".deleteCustomer").show();
    });
    $scope.deleteCustomer = function(){
        $(".deleteCustomer").hide();
    };
    $scope.cancelDeleteCustomer = function(){
        $(".deleteCustomer").hide();
    };
    $('input').iCheck({
        checkboxClass: 'icheckbox_minimal-green',
        radioClass: 'iradio_minimal-green',
        increaseArea: '20%' // optional
    });
    $("#customer_add_duty").multiselect({

    });
    $("#customer_update_duty").multiselect({

    });
    $("#customer_add_account").multiselect({
        enableFiltering: true
    });
    $(".multiselect-container").append("<li class='triangle'><span class='triangle-border'></span></li>");
}]);
app.controller("customerAllotAccountZTree",["$scope",function(){
    function getTree() {
        var data = [{
            text: "用户类型",
            backColor:"#48AB5D",
            color:"#fff",
            state:{
                selected:false
            },
            nodes: [
                {
                    text: "行政组织",
                    id: '00001',
                    nodes: [
                        {
                        text:"环保厅",
                        id:"00002",
                        nodes:[
                            {
                            text:"监测站",
                            id:"00003"
                        },{
                            text:"大气办",
                            id:"00004",
                            nodeId:"00004"
                        }]
                    },{
                        text:"环保局",
                        id:"00005",
                        nodes:[{
                            text:"监测站",
                            id:"00006",
                            nodeId:"00006"
                        },{
                            text:"大气办",
                            id:"00007",
                            nodeId:"00007"
                        },{
                            text:"数据人员",
                            id:"00008",
                            nodeId:"00008"
                        },{
                            text:"执法人员",
                            id:"00009",
                            nodeId:"00009"
                        }]
                    },{
                        text:"建设局",
                        id:"00010",
                        nodeId:"00010"
                    },{
                        text:"办事处",
                        id:"00011",
                        nodeId:"00011"
                    }]
                },{
                    text:"站点用户",
                    id:"000012",
                    nodes:[
                      {
                        text:"工地",
                        id:"00013",
                        nodeId:"00013"
                    },{
                            text:"4s店",
                            id:"00014",
                            nodeId:"00014"
                     },{
                            text:"餐饮企业",
                            id:"00015",
                            nodeId:"00015"
                        }]
                },{
                    text:"第三方",
                    id:"00016",
                    nodes:[
                        {
                        text:"平台",
                        id:"00017",
                        nodeId:"00017"
                    },{
                            text:"服务",
                            id:"00018",
                            nodeId:"00018"
                        }]
                },{
                    text:"运维管理",
                    id:"00019",
                    nodes:[
                        {
                        text:"设备管理",
                        id:"00020",
                        nodeId:"00020"
                    },{
                        text:"设备维护",
                        id:"00021",
                        nodeId:"00021"
                    }]
                },{
                    text:"便携设备用户",
                    id:"00022",
                    nodeId:"00022"
                },{
                    text:"工业园区",
                    id:"00023",
                    nodeId:"00023"
                },{
                    text:"公众",
                    id:"00024",
                    nodeId:"00024"
                },{
                    text:"演示用户",
                    id:"00025",
                    nodeId:"00025"
                }]
        }];
        return data;
    }
    $('#character_allotUser_tree').treeview({
        data: getTree(),         // data is not optional
        selectedBackColor:"#fff",
        selectedColor:"#333"
    });
}]);
app.controller("customerTable",["$scope",function($scope){
    $('#customerTable').bootstrapTable({
        columns: [
            {
                checkbox: true
            },{
                field: 'encode',
                title: '用户编号',
                align:"left",
                halign:"center"
            },{
                field: 'name',
                title: '用户名',
                align:"left",
                halign:"center"
            }, {
                field: 'type',
                title: '用户类型',
                align:"left",
                halign:"center"
            }, {
                field: 'phone',
                title: '联系方式',
                align:"left",
                halign:"center"
            }, {
                field: 'duty',
                title: '职务',
                align:"left",
                halign:"center"
            }
        ],
        data: [
            {
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            },{
                encode:'00001',
                name: '经开区环保局',
                type:'政府',
                phone:'13645789524',
                duty: '员工'
            }
        ],
        pagination :true,
        paginationLoop: false,
        striped :true,
        paginationPreText : "上一页",
        paginationNextText :"下一页",
        undefinedText : "暂无数据",
        showColumns :true,
        showExport : true,
        showRefresh :true,
        height:711,
        showPaginationSwitch:true,
        pageSize:15,
        pageList :[10,15,20]
    });
    $('#customer-account').bootstrapTable({
        columns: [
            {
                checkbox: true
            },{
                field: 'accountName',
                title: '账户',
                align:"left",
                halign:"center"
            }, {
                field: 'creator',
                title: '创建人',
                align:"left",
                halign:"center"
            }, {
                field: 'createDate',
                title: '创建日期',
                align:"left",
                halign:"center"
            }, {
                field: 'isAudit',
                title: '审核',
                width:50
            }, {
                field: 'isEnable',
                title: '启用',
                width:50
            }, {
                field: 'isAllowPc',
                title: 'PC端登录',
                width:50
            }, {
                field: 'isAllowApp',
                title: '移动端登录',
                width:50
            }
        ],
        data: [
            {
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            },{
                accountName:'jkq',
                creator:'sysAdmin',
                createDate:'2017-01-19',
                isAudit:'<input type="checkbox">',
                isEnable:'<input type="checkbox">',
                isAllowPc:'<input type="checkbox">',
                isAllowApp:'<input type="checkbox">'
            }
        ],
        pagination :true,
        paginationLoop: false,
        striped :true,
        paginationPreText : "上一页",
        paginationNextText :"下一页",
        undefinedText : "暂无数据",
        search:true,
        searchAlign:"left",
        height:511,
        pageSize:15,
        pageList :[10,15,20]
    });
}]);
app.controller("customerBatchAccountTable",["$scope",function($scope){
    $('#customerBatchAccount').bootstrapTable({
        columns: [
            {
                field: 'name',
                title: '姓名',
                align:"left",
                halign:"center"
            }, {
                field: 'type',
                title: '类型',
                align:"left",
                halign:"center"
            }, {
                field: 'operation',
                title: '操作',
                align:"left",
                halign:"center"
            }
        ],
        data: [
            {
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            },{
                name: '经开区环保局',
                type:'政府机构',
                operation:'<button class="btn btn-default">添加</button>'
            }
        ],
        pagination :true,
        paginationLoop: false,
        striped :true,
        paginationPreText : "上一页",
        paginationNextText :"下一页",
        undefinedText : "暂无数据",
        height:612,
        pageSize:10,
        pageList :[5,10,15]
    });
}]);